package com.zr.task.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zr.common.annotation.Excel;
import com.zr.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 转运任务单对象 eim_task_transhipment
 * 
 * @author zhaojunqi
 * @date 2022-10-21
 */
public class EimTaskTranshipment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 转运人 */
    @Excel(name = "转运人")
    private String idCard;

    /** 转运类型 */
    @Excel(name = "转运类型")
    private Long type;

    /** 被转运人 */
    @Excel(name = "被转运人")
    private String transhipmentIdCard;

    /** 转运开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "转运开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date transhipmentBeginTime;

    /** 转运结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "转运结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date transhipmentEndTime;

    /** 转运开始地址 */
    @Excel(name = "转运开始地址")
    private String transhipmentBeginAddress;

    /** 转运结束地址 */
    @Excel(name = "转运结束地址")
    private String transhipmentEndAddress;

    /** 父单id */
    @Excel(name = "父单id")
    private String pid;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setIdCard(String idCard) 
    {
        this.idCard = idCard;
    }

    public String getIdCard() 
    {
        return idCard;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setTranshipmentIdCard(String transhipmentIdCard) 
    {
        this.transhipmentIdCard = transhipmentIdCard;
    }

    public String getTranshipmentIdCard() 
    {
        return transhipmentIdCard;
    }
    public void setTranshipmentBeginTime(Date transhipmentBeginTime) 
    {
        this.transhipmentBeginTime = transhipmentBeginTime;
    }

    public Date getTranshipmentBeginTime() 
    {
        return transhipmentBeginTime;
    }
    public void setTranshipmentEndTime(Date transhipmentEndTime) 
    {
        this.transhipmentEndTime = transhipmentEndTime;
    }

    public Date getTranshipmentEndTime() 
    {
        return transhipmentEndTime;
    }
    public void setTranshipmentBeginAddress(String transhipmentBeginAddress) 
    {
        this.transhipmentBeginAddress = transhipmentBeginAddress;
    }

    public String getTranshipmentBeginAddress() 
    {
        return transhipmentBeginAddress;
    }
    public void setTranshipmentEndAddress(String transhipmentEndAddress) 
    {
        this.transhipmentEndAddress = transhipmentEndAddress;
    }

    public String getTranshipmentEndAddress() 
    {
        return transhipmentEndAddress;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    @Override
    public String toString() {
        return "EimTaskTranshipment{" +
                "id=" + id +
                ", idCard='" + idCard + '\'' +
                ", type=" + type +
                ", transhipmentIdCard='" + transhipmentIdCard + '\'' +
                ", transhipmentBeginTime=" + transhipmentBeginTime +
                ", transhipmentEndTime=" + transhipmentEndTime +
                ", transhipmentBeginAddress='" + transhipmentBeginAddress + '\'' +
                ", transhipmentEndAddress='" + transhipmentEndAddress + '\'' +
                ", pid='" + pid + '\'' +
                '}';
    }
}
